<?php
declare(strict_types=1);

return [
    'id' => 'message',
    'name' => '系统消息',
    'description' => '系统消息模块，支持站内通知、系统公告、用户私信等功能',
    'version' => '1.0.0',
    'core_version' => '^1.0',
    'author' => 'SixShop',
    'image' => '',
    'license' => 'MIT',
    'website' => 'https://www.sixshop.com',
    'email' => 'support@sixshop.com',
    'require' => [
        'php' => '>=7.4.0',
        'framework' => '>=1.0.0',
        'core' => '>=1.0.0',
    ],
    'config' => [
        'admin' => [
            'menu' => [
                [
                    'name' => '消息管理',
                    'icon' => 'layui-icon-notice',
                    'children' => [
                        [
                            'name' => '公告管理',
                            'uri' => 'message/announcement',
                        ],
                        [
                            'name' => '通知管理',
                            'uri' => 'message/notification',
                        ],
                        [
                            'name' => '私信管理',
                            'uri' => 'message/private',
                        ],
                        [
                            'name' => '消息设置',
                            'uri' => 'message/setting',
                        ],
                    ],
                ],
            ],
        ],
    ],
    'install' => [
        'sql' => [
            'install.sql'
        ]
    ],
    'uninstall' => [
        'sql' => [
            'uninstall.sql'
        ]
    ],
    'upgrade' => [
        'sql' => [
            'upgrade.sql'
        ]
    ]
];
